<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <link rel="stylesheet" type="text/css" href="preview/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="preview/css/swiper.min.css" />
    <link rel="stylesheet" type="text/css" href="preview/css/index.css" />
</head>
<body>
<div class="borrowRank starModule">
    <div class="sxTitle">图书借阅排行榜</div>
    <div class="sxBgBorder">
        <div class="sxCorner"></div>
        <div class="sxCorner"></div>
        <div class="sxCorner"></div>
        <div class="sxCorner"></div>
        <img src="preview/img/rankBg.png" alt="" class="rankBG"/>
        <div class="swiper-container swiper-container-rank">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <p class="slideBookRank">TOP.1</p>
                    <img src="preview/img/book.png" alt="" class="slideBookImg"/>
                    <p class="slideBookName words2">佳都科技的解放军到</p>
                </div>
                <div class="swiper-slide">
                    <p class="slideBookRank">TOP.2</p>
                    <img src="preview/img/book.png" alt="" class="slideBookImg"/>
                    <p class="slideBookName words2">佳都科技的dfdffdffddfd解放军到</p>
                </div>
                <div class="swiper-slide">
                    <p class="slideBookRank">TOP.3</p>
                    <img src="preview/img/book.png" alt="" class="slideBookImg"/>
                    <p class="slideBookName words2">佳都科技的解拉进来的健康的即可将放军到</p>
                </div>
                <div class="swiper-slide">
                    <p class="slideBookRank">TOP.4</p>
                    <img src="preview/img/book.png" alt="" class="slideBookImg"/>
                    <p class="slideBookName words2">佳都科技的解放军到</p>
                </div>
                <div class="swiper-slide">
                    <p class="slideBookRank">TOP.5</p>
                    <img src="preview/img/book.png" alt="" class="slideBookImg"/>
                    <p class="slideBookName words2">佳都科技的解放军到</p>
                </div>
                <div class="swiper-slide">
                    <p class="slideBookRank">TOP.6</p>
                    <img src="preview/img/book.png" alt="" class="slideBookImg"/>
                    <p class="slideBookName words2">佳都科技的解放军到</p>
                </div>
                <div class="swiper-slide">
                    <p class="slideBookRank">TOP.7</p>
                    <img src="preview/img/book.png" alt="" class="slideBookImg"/>
                    <p class="slideBookName words2">佳都科技的解放军到</p>
                </div>
            </div>

        </div>

    </div>

</div>

<script src="preview/js/jquery.min.js"></script>
<!-- rem-->
<script src="preview/js/rem.js"></script>
<script src="preview/js/swiper.min.js"></script>
<!-- requestAnimation  兼容性包-->
<script src="preview/js/requestAnimationFrame.js"></script>
<!-- 动态添加兼容性前缀，写css不用写一大堆兼容了，写一句就行-->
<script src="preview/js/prefixfree.min.js"></script>
<!-- 不同浏览器的刷新频率，返回值是HZ-->
<script src="preview/js/browser.js"></script>
<!-- 自定义其他js-->
<script>
    var swiper=null;
    window.onload  = function() {
        getRem(100, 935);
        ////如果需要推数据重新实例化swiper，先将swiper对象销毁在实例化，对接数据时候注意这一点
        swiper = new Swiper('.swiper-container-rank', {
            autoplay: {
                delay: 10000,
//                stopOnLastSlide: false,
                disableOnInteraction: true,////用户手动操作之后自动播放不会停止
            },
            loop : false,
            slidesPerView : 5,
            slidesPerGroup:5,
//            pagination: {////分页器
//                el: '.swiper-pagination',
//                type: 'fraction',
//            },
        });
    };
    window.onresize= function() {
        getRem(100, 935);

    };
</script>
</body>
</html>